/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class AccepThroughEnum extends StringEnum
{
    public static final String YES_VALUE = "10";
    public static final String NO_VALUE = "20";

    public static final AccepThroughEnum yes = new AccepThroughEnum("yes", YES_VALUE);
    public static final AccepThroughEnum no = new AccepThroughEnum("no", NO_VALUE);

    /**
     * construct function
     * @param String accepThroughEnum
     */
    private AccepThroughEnum(String name, String accepThroughEnum)
    {
        super(name, accepThroughEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AccepThroughEnum getEnum(String accepThroughEnum)
    {
        return (AccepThroughEnum)getEnum(AccepThroughEnum.class, accepThroughEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AccepThroughEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AccepThroughEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AccepThroughEnum.class);
    }
}